package com.seeway.wms.network.api

import com.geen.tuoke.network.BaseResponse


data class ApiResponse<T>(var code: Int, var msg: String, var data: T) : BaseResponse<T>() {

    //请求结果(1:成功;0:失败)
    override fun isSucces() = code == 1

    override fun getResponseCode() = code

    override fun getResponseData() = data

    override fun getResponseMsg() = msg

}